package validator

import (
	"regexp"

	"github.com/google/uuid"
)

var IsLetter = regexp.MustCompile(`^[а-яА-Я]+$`).MatchString

func CheckName(value string) bool {
	return IsLetter(value)
}

func CheckUUID(value string) bool {
	if _, err := uuid.Parse(value); err != nil {
		return false
	}
	return true
}
